import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';

class RowColComp extends StatelessWidget {
  const RowColComp({super.key});

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        Container(
          width: double.infinity,
          height: 150,
          decoration: const BoxDecoration(color: Colors.pink),
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceAround,
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              Image.asset(
                'assets/open_eyes.png',
                width: 70,
                height: 70,
              ),
              Image.asset(
                'assets/open_eyes.png',
                width: 70,
                height: 70,
              ),
              Image.asset(
                'assets/open_eyes.png',
                width: 70,
                height: 70,
              ),
            ],
          ),
        ),
        Container(
          margin: const EdgeInsets.all(10),
          decoration: const BoxDecoration(color: Colors.green),
          child: Column(
            mainAxisAlignment: MainAxisAlignment.start,
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              Image.network(
                'https://yanxuan-item.nosdn.127.net/72e734dd1a4d35ce650afebdaa600b57.png',
                width: 200,
                height: 200,
              ),
              const SizedBox(height: 10),
              const Text('美妆效果嘎嘎不卡粉末面刷'),
              const SizedBox(height: 5),
              const Text('￥ 99.90'),
              const SizedBox(height: 5),
            ],
          ),
        )
      ],
    );
  }
}
